<?php
#region CODE
use Modules\JasminumGallery\Controllers\DefaultController;

$gallery = new DefaultController();
#endregion
?>
<div id="layout-gallery-section">
    <section id="section-gallery">
        <div id="layout-gallery" class="chosen">
            <header>
                <h1><?php echo $gallery->getGalleryData()->getName(); ?></h1>
            </header>
            <section id="section-gallery-description">
                <div id="gallery-description">
                    <p><?php echo $gallery->getGalleryData()->getDescription(); ?></p>
                </div>
            </section>
            <section id="section-subgalleries">
                <div id="subgalleries">
                    <?php echo $gallery->getSubgalleries($gallery->getGalleryData()->getId()); ?>
                </div>
            </section>
        </div>
    </section>
</div>